﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript">

        $.ajax({
            type: "get",
            url: "http://sb.gmcc.net/test/WebService1.asmx/GetSingleInfo",
            dataType: "jsonp",
            jsonp: "jsoncallback",
            data: { x: 'aa', y: 'bb' },  //传输的数据
            success: function (result) {
                alert(result.name);
            },  //得到调用服务结果
            error: function (XMLHttpRequest, msg) {
                alert(msg);
                alert(XMLHttpRequest.responseText);
            }

        });


        //$.ajax({
        //    type: "get",
        //    url: "http://221.176.36.74/tms/PartyZhongGuoMeng.asmx/GetZhongGuoMeng",
        //    dataType: "jsonp",
        //    jsonp: "jsoncallback",
        //    data: {SystemCode:'ZHDJ_SDLD_141224',user_id:'sxt001'},
        //    success: function (result) {
        //        alert(result.desc);
        //    },  //得到调用服务结果
        //    error: function (XMLHttpRequest, msg) {
        //        alert(msg);
        //        alert(XMLHttpRequest.responseText);
        //    }
        //});

      
    </script>
</head>
<body>
</body>
</html>
